newProfile

abstract fun newProfile(name: String): Profile

Creates a new Profile instance with the given name.

Parameters

name

a name of the profile, cannot be empty or blank

Throws

when name is empty or blank

when the engine is closed and this service is not available anymore